/*
 * ImageBuffer.h
 *
 *  Created on: 12 Apr 2011
 *      Author: s88900
 */

#ifndef IMAGEBUFFER_H_
#define IMAGEBUFFER_H_

#include "conc/Mutex.h"

class ImageBuffer {
private:
	char buffer[9];
	Mutex* lock;
public:
	ImageBuffer();
	void newImage(int, char);
	char getImage(int);
	bool ready();
	virtual ~ImageBuffer();
};

#endif /* IMAGEBUFFER_H_ */
